using System;
namespace Lifter.Global
{
	public class SecsCEID
	{
		public const string EQUIPMENT_OFFLINE = "1";
		public const string EQUIPMENT_LOCAL = "2";
		public const string EQUIPMENT_REMOTE = "3";
		public const string SC_AUTO = "101";
		public const string SC_PAUSED = "102";
		public const string SC_PAUSING = "104";
		public const string ALARM_CLEARED = "105";
		public const string ALARM_SET = "106";
		public const string TRANSFER_COMPLETED = "207";
		public const string TRANSFER_INITIATED = "208";
		public const string TRANSFER_PAUSED = "209";
		public const string TRANSFER_RESUMED = "210";
		public const string CARRIER_REMOVED = "301";
		public const string CARRIER_WAIT_IN = "303";
		public const string CARRIER_WAIT_OUT = "304";
		public const string CARRIER_LOCATION_CHANGED = "305";
		public const string CARRIER_TRANSFERING = "306";
		public const string PORT_IN_SERVICE = "401";
		public const string PORT_OUT_OF_SERVICE = "402";
		public const string SHUTTLE_IN_SERVICE = "403";
		public const string SHUTTLE_OUT_OF_SERVICE = "404";
		public const string PORT_INOUT_TYPE_CHANGE = "405";
		public const string PORT_TRANSFER_BLOCKED = "406";
		public const string PORT_READY_TO_LOAD = "407";
		public const string PORT_READY_TO_UNLOAD = "408";
		public const string MACHINE_INSERVICE = "502";
		public const string MACHINE_OUT_OF_SERVICE = "503";
		public const string CARRIER_ID_READ = "601";
		public const string OPERATION_INIT_ACTION = "602";
		public const string SHUTTLE_LOCATION_CHANGED = "603";
		public const string UNIT_ALARM_CLEARED = "701";
		public const string UNIT_ALARM_SET = "702";
		public static string GetCeidText(string ceid)
		{
			string result;
			switch (ceid)
			{
			case "1":
				result = "CEID:EQUIPMENT_OFFLINE";
				return result;
			case "2":
				result = "CEID:EQUIPMENT_LOCAL";
				return result;
			case "3":
				result = "CEID:EQUIPMENT_REMOTE";
				return result;
			case "101":
				result = "CEID:SC_AUTO";
				return result;
			case "102":
				result = "CEID:SC_PAUSED";
				return result;
			case "104":
				result = "CEID:SC_PAUSING";
				return result;
			case "105":
				result = "CEID:ALARM_CLEARED";
				return result;
			case "106":
				result = "CEID:ALARM_SET";
				return result;
			case "207":
				result = "CEID:TRANSFER_COMPLETED";
				return result;
			case "208":
				result = "CEID:TRANSFER_INITIATED";
				return result;
			case "209":
				result = "CEID:TRANSFER_PAUSED";
				return result;
			case "210":
				result = "CEID:TRANSFER_RESUMED";
				return result;
			case "301":
				result = "CEID:CARRIER_REMOVED";
				return result;
			case "303":
				result = "CEID:CARRIER_WAIT_IN";
				return result;
			case "304":
				result = "CEID:CARRIER_WAIT_OUT";
				return result;
			case "305":
				result = "CEID:CARRIER_LOCATION_CHANGED";
				return result;
			case "306":
				result = "CEID:CARRIER_TRANSFERING";
				return result;
			case "401":
				result = "CEID:PORT_IN_SERVICE";
				return result;
			case "402":
				result = "CEID:PORT_OUT_OF_SERVICE";
				return result;
			case "403":
				result = "CEID:SHUTTLE_IN_SERVICE";
				return result;
			case "404":
				result = "CEID:SHUTTLE_OUT_OF_SERVICE";
				return result;
			case "405":
				result = "CEID:PORT_INOUT_TYPE_CHANGE";
				return result;
			case "406":
				result = "CEID:PORT_TRANSFER_BLOCKED";
				return result;
			case "407":
				result = "CEID:PORT_READY_TO_LOAD";
				return result;
			case "408":
				result = "CEID:PORT_READY_TO_UNLOAD";
				return result;
			case "502":
				result = "CEID:MACHINE_INSERVICE";
				return result;
			case "503":
				result = "CEID:MACHINE_OUT_OF_SERVICE";
				return result;
			case "601":
				result = "CEID:CARRIER_ID_READ";
				return result;
			case "602":
				result = "CEID:OPERATION_INIT_ACTION";
				return result;
			case "603":
				result = "CEID:SHUTTLE_LOCATION_CHANGED";
				return result;
			case "701":
				result = "CEID:UNIT_ALARM_CLEARED";
				return result;
			case "702":
				result = "CEID:UNIT_ALARM_SET";
				return result;
			}
			result = "CEID";
			return result;
		}
	}
}
